package com.kmair.caiwu.financialexpress.configuration;

import com.kmair.caiwu.dbconn.configuration.MybatisConfig;
import net.sourceforge.jeval.Evaluator;
import org.springframework.context.annotation.*;

@Configuration
@ComponentScan("com.kmair.caiwu.financialexpress")
@Import(MybatisConfig.class)
public class FERootConfig {

    //    注册Jeval,将字符串公式计算出来
    @Bean
    public Evaluator evaluator() {
        return new Evaluator();
    }

}
